import {get, post, request} from "@/http/request";

const BASE_URL = process.env.VUE_APP_REQUEST_IP_PORT;

export function login(params) {
  return post({
    url: BASE_URL + "/base/login/getToken",
    params: params
  });
}

export function getUserInfo(params) {
  return get({
    url: BASE_URL + "/base/login/info",
    params: params
  });
}
